<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <#if parent??>
    <parent>
        <groupId>${parent.groupId}</groupId>
        <artifactId>${parent.artifactId}</artifactId>
        <version>${parent.version}</version>
    </parent>
    </#if>

    <groupId>${groupId}</groupId>
    <artifactId>${artifactId}</artifactId>
    <version>${version}</version>
    <#if packaging??>
    <packaging>${packaging}</packaging>
    </#if>

    <#if modules??>
    <name>${name}</name>
    </#if>
    <#if description??>
    <description>${description}</description>
    </#if>

    <#if modules??>
    <modules>
    <#list modules as module>
        <module>${module}</module>
    </#list>
    </modules>
    </#if>

    <#if properties??>
    <properties>
    <#list properties as key, value>
        <${key}>${value}</${key}>
    </#list>
    </properties>
    </#if>

    <#if dependencies??>
        <dependencies><#list dependencies as dep>
            <#if dep.desc??><!--${dep.desc}--></#if>
            <dependency>
                <groupId>${dep.groupId}</groupId>
                <artifactId>${dep.artifactId}</artifactId>
                <#if dep.version??><version>${dep.version}</version></#if><#if dep.scope??>
                <scope>${dep.scope}</scope></#if><#if dep.exclusions?? && dep.exclusions?size gt 0>
                <exclusions>
                <#list dep.exclusions as excl>
                    <exclusion>
                        <groupId>${excl.groupId}</groupId>
                        <artifactId>${excl.artifactId}</artifactId>
                    </exclusion>
                </#list>
                </exclusions></#if>
            </dependency>
            </#list>
        </dependencies>
    </#if>


</project>